package com.woniuxy.test;

import java.math.BigDecimal;

/**
 * @Author: ideaAdmin
 * TODO:
 * Date: 2022/2/14:9:08
 * Description:
 */

public class NumAdd {
    public static void main(String[] args) {

        //苹果 i 香蕉 j 菠萝 k
        //8 1 1
        for (int i = 1; ; i++) {
            for (int j = 1; j < i; j++) {
                for (int k = 1; k < i; k++) {
                    BigDecimal bigDecimal = new BigDecimal("" + i);
                    if ((i / (j + k) + j / (k + i) + k / (i + j)) == 4){
                        System.out.println(i + "--" + j + "--" + k);
                        return;
                    }
                }
            }
        }
    }
}
